<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>[%$form.formgroupname%] - [%$lngpack.sitename%]</title>
<meta name="keywords" content="[%$lngpack.keyword%]" />
<meta name="description" content="[%$lngpack.description%]" />
<link href="[%$url%]templates/goods/style/tempates_div.css" rel="stylesheet" type="text/css" />
<link href="[%$url%]templates/goods/style/public.css" rel="stylesheet" type="text/css" />
<link href="[%$url%]templates/goods/style/pagebotton.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="[%$url%]js/jquery.js"></script>
<script type="text/javascript" src="[%$url%]js/basicrun.js"></script>
<!--[if IE 6]>
<style type="text/css" media="screen">
body {behavior:url("[%$url%]templates/goods/style/csshover.htc"); }
</style>
<![endif]-->
</head>

<body>
<div class="head">
	[%include file="goods/en/public/head.html"%]
	<!--当前浏览位置-->
	<div class="framecenter">
		<div class="location"><b>[%$form.formgroupname%]</b></div>
	</div>
	<!--left-->
	<div class="framecenter margintop8">
		<div style="float:left">
			<!--分类栏目-->
			<div class="tbottonlist">
				<div class="tg">Categories</div>
				<div class="l">
					[%beark name=list filename=list_type class=$lng,$type.mid,0,$type.tid,0,0,8,0,0,0,$read.did%]
				</div>
			</div>
			<div class="tbottonlist  margintop8">
				<div class="tg"><span class="spantitle">Hot recommends</span><span class="spanmone"></span></div>
				<div class="l">[%beark name=list filename=list_title class=$lng,1,0,54,0,0,10%]</div>
			</div>
		</div>
		<div style="float:right;">
			<div class="righttext"><img alt="bann" src="[%$url%]templates/goods/images/tbann.jpg" width="711" height="190" /></div>
			<div class="righttext">
				<div class="readlist">
					<form name="[%$form.formcode%]" id="[%$form.formcode%]" method="post" action="[%$form.action%]">
					<input type="hidden" name="linkurl" value="add">
					<input type="hidden" name="fgid" id="fgid" value="[%$form.fgid%]">
					<input type="hidden" name="formcode" id="formcode" value="[%$form.formcode%]">
					<input type="hidden" name="countattrs" id="countattrs" value="[%$form.countattrs%]">
					<input type="hidden" name="isseccode" id="isseccode" value="[%$form.isseccode%]">
					<div class="tg">[%$form.formgroupname%]</div>
					<div class="f">
						<table style="width: 100%" class="formlist">
							<tr>
								<td colspan="2" class="content">[%$form.content%]</td>
							</tr>
							[%forlist from=$attr key=i%]
							[%if $attr[i].isline==1%]
							<tr>
								<td colspan="2" class="content">[%$attr[i].typename%]</td>
							</tr>
							[%else%]
							<tr>
								<th>[%$attr[i].typename%]</th>
								<td>
									[%if $attr[i].inputtype=='string'%]<input type="text"[%if $attr[i].isvalidate==1%] onblur="if (this.value.match(/^[%$attr[i].validatetext%]$/ig)==null){alert('[%$attr[i].typename%][%$lngpack.inputerr%]');return false;}" [%/if%]name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" maxlength="[%$attr[i].attrlenther%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>[%/if%]
									[%if $attr[i].inputtype=='int'%]<input type="text" [%if $attr[i].isvalidate==1%] onblur="if (this.value.match(/^[%$attr[i].validatetext%]$/ig)==null){alert('[%$attr[i].typename%][%$lngpack.inputerr%]');return false;}" [%/if%]name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" maxlength="[%$attr[i].attrlenther%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>[%/if%]
									[%if $attr[i].inputtype=='datetime'%]
										 <input type="text" name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>
									[%/if%]
									[%if $attr[i].inputtype=='img'%]
										<input type="text" name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>
									[%/if%]
									[%if $attr[i].inputtype=='addon'%]
										<input type="text" name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>
									[%/if%]
									[%if $attr[i].inputtype=='text'%]<textarea name="formatt[[%$attr[i].attrname%]]" cols="[%$attr[i].attrsize%]" rows="[%$attr[i].attrrow%]" class="infoInput">[%$attr[i].attrvalue%]</textarea>[%/if%]
									[%if $attr[i].inputtype=='select'%]
										<select size="1" name="formatt[[%$attr[i].attrname%]]">
										[%forlist from=$attr[i].attrvalue key=ii%]
											<option [%if $attr[i].attrvalue[ii].selected=='selected'%]selected="selected" [%/if%]value="[%$attr[i].attrvalue[ii].name%]">[%$attr[i].attrvalue[ii].name%]</option>
										[%/forlist%]
										</select>
									[%/if%]
									[%if $attr[i].inputtype=='radio'%]
										[%forlist from=$attr[i].attrvalue key=ii%]
											<input [%if $attr[i].attrvalue[ii].selected=='selected'%]checked="checked" [%/if%]name="formatt[[%$attr[i].attrname%]]" type="radio" value="[%$attr[i].attrvalue[ii].name%]" /> [%$attr[i].attrvalue[ii].name%]
										[%/forlist%]
									[%/if%]
									[%if $attr[i].inputtype=='checkbox'%]
										[%forlist from=$attr[i].attrvalue key=ii%]
											<input [%if $attr[i].attrvalue[ii].selected=='selected'%]checked="checked" [%/if%]name="formatt[[%$attr[i].attrname%]]" type="checkbox" value="[%$attr[i].attrvalue[ii].name%]" /> [%$attr[i].attrvalue[ii].name%]
										[%/forlist%]
									[%/if%]
									[%if $attr[i].typeremark!=''%]<span>[%$attr[i].typeremark%]</span>[%/if%]
								</td>
							</tr>
							[%/if%]
							[%/forlist%]
							[%if $form.isseccode==1%]
							<tr>
								<th>[%$lngpack.verification%]</th>
								<td>
									<input type="text" id="code" name="seccode" class="infoInput" maxlength="4" size="3" style="text-transform: uppercase;"/>
									<img title="Verification" id="[%$form.formcode%]seccodesrc" onclick="sessionimg('[%$form.formcode%]seccodesrc','[%$url%]')" src="[%$seccodelink%]" style="cursor: pointer;" align="absmiddle"/>
								</td>
							</tr>
							[%/if%]
							<tr>
								<td></td>
								<td>
									<input type="submit" id="[%$form.formcode%]botton" name="Submit" value="[%$lngpack.submitbotton%]" class="buttonface" />
								</td>
							</tr>
						</table>
					</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<!--版权声明-->
	[%include file="goods/en/public/fotter.html"%]
</div>

</body>

</html>
